package cn.tangsihai.basic.query;

import lombok.Data;

/**
 * 公共高级查询条件
 */
@Data
public class BasicQuery {
    private Integer currentPage = 1;
    private Integer pageSize = 5;
    private String keyWord;
    public Integer getBegin(){
        return (this.currentPage - 1) * this.pageSize;
    }
}
